<?php 
if(@$_GET['id_del_gt']){
	$sql_del="delete from qldl_gioi_thieu 
			  where MA_GIOI_THIEU = '".$_GET['id_del_gt']."'
			 ";
			 
	$query_del = @mysql_query($sql_del,$conn);
	if(!$query_del) echo "<script>alert ('Lỗi khi xóa thông tin.')</script>";
	else echo "<script>alert ('Xóa thông tin thành công.')</script>";
}
if(@$_GET['id_photo_gt']){
	$myphoto=$_GET['id_photo_gt'] ;
unlink($myphoto);
}

?>